import request from '@/utils/request'

const api_name = '/eduservice/frontTeacher'

export default {
  getPageList(page,limit){
    return request({
      url: `${api_name}/pageListWeb/${page}/${limit}`,
      method: 'get'
    })
  },
  getById(teacherId){
    return request({
      url: `/eduservice/teacher/${teacherId}`,
      method: 'get'
    })
  }
}
